<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<!-- <script type="text/javascript" src="../www/js/jquery.js" charset="utf-8"></script>
	<script type="text/javascript" src="../www/js/bootstrap.js" charset="utf-8"></script>
	<link rel="stylesheet" href="../www/css/bootstrap.css"> -->
	
	<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
	<link rel="stylesheet" href="/css/main.css">
</head>
<body>
	
	<div class="panel panel-default" style="width: 400px;margin:200px auto 0;">
		<div class="panel-heading">
			登录
		</div>
		<div class="panel-body">
			<% if(error_msg!=''){ %>
			<div class="alert alert-danger" id="div_alert">

				<%=error_msg%>
			</div>
			<% } %>
			<script type="text/javascript">
			setTimeout(function(){
				document.getElementById('div_alert').style.display="none";
			},3000)
			</script>
	<form class="bs-example bs-example-form" role="form" action="/admin/login?ref=<%=ref%>" method="post">
		<div class="form-group">
			<label for="username">用户名</label>
			<input type="text" class="form-control"  name="username" id="username" placeholder="请输入用户名...">
		</div>
		<div class="form-group">
			<label for="password">密码</label>
			<input type="password" class="form-control" name="password" id="password" placeholder="请输入密码...">
		</div>
		<br>
			<button type="submit" class="btn btn-info btn-login">登录</button>
	</form>
	</div>
		
		
	</div>

</body>
</html>

